@extends('admins.layouts.home')

@section('sidebar')
    @parent



@endsection

@section('content')

    <ol class="breadcrumb">
        <li><a href="/">首页</a></li>
        <li><a href="/admins/books/list">分类</a></li>
        <li><a href="#" class="active">新增</a></li>
    </ol>


    <div class="main">


        <div class="panel panel-default">
            <div class="panel-heading">
                <strong class="panel-title">功能模块</strong>

            </div>
            <div class="panel-body">

                @if($moduleList)
                    <table class="table">
                        <tr>
                            <th>ID</th>
                            <th>name</th>
                            <th>name_en</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                        @foreach($moduleList as $rows)
                            <tr>
                                <td> {{ $rows['module_id']  }} </td>
                                <td> {{ $rows['module_name']  }} </td>
                                <td> {{ $rows['module_name_en']  }} </td>
                                <td> {{ $rows['module_status']  }} </td>
                                <td> edit </td>
                            </tr>
                        @endforeach
                    </table>
                @endif

            </div>
        </div>
    </div>

@endsection